package com.qumitech.visualnovel.datasource.console;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.console.MuchangwuyuDO;

public interface MuchangwuyuDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MuchangwuyuDO record);

    int insertSelective(MuchangwuyuDO record);

    MuchangwuyuDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MuchangwuyuDO record);

    int updateByPrimaryKey(MuchangwuyuDO record);

    int getCount(@Param("tableList") List<String> tableList,
                 @Param("uid") String uid,
                 @Param("rewardItem") String rewardItem,
                 @Param("startTime") String startTime,
                 @Param("endTime") String endTime);

    List<MuchangwuyuDO> getList(@Param("tableList") List<String> tableList,
             @Param("uid") String uid,
             @Param("rewardItem") String rewardItem,
             @Param("startTime") String startTime,
             @Param("endTime") String endTime,
             @Param("offset") int offset,
             @Param("limit") int limit);
}